<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>搜事网-我的收藏</title>
<!-- 引用文件:start-->
<jsp:include page="includes.jsp" />
<%@ page language="java" contentType="text/html;charset=UTF-8"
	import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!-- 引用文件:end-->
<!-- JS头文件:start -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.js"></script>
<script src="http://malsup.github.com/jquery.form.js"></script>
<script>
	// wait for the DOM to be loaded     
	$(document).ready(function() {
		$('#myForm').ajaxForm(function() {
			//alert("Thank you for your comment!");
		});
	});
</script>
<!-- JS头文件:end -->
</head>
<body>
	<div class="wrap">
		<!-- header:start -->
		<jsp:include page="banner.jsp" />
		<!-- header:end -->
		<div id="body">
			<div id="left" class="wrap">
				<div class="main lside176">
					<jsp:include page="left_banner_my.jsp" />
					<div class="middle w804">
						<div id="left" class="w804">
							<div class="main">
								<div class="topbox">
									<div class="tabs">
									</div>
								</div>
								<div class="tabContent">
									<div class="listForm">
										<form action="deleteUser.do" method="post">
											<s:if test="favorites.size>0">
												<table class="t" width="100%" cellspacing="1">
													<tr class="odd">
														<td>用户ID</td>
														<td>舆情ID</td>
													</tr>
													<s:iterator value="favorites">
														<tr>
															<td><s:property value="user.name" /></td>
															<td><s:property value="itemId" /></td>
														</tr>
													</s:iterator>
												</table>
											</s:if>
										</form>
										<!-- 分页:start -->

										<div class="pagination">
											<s:if test="curPage!=1">
												<a href="listFavorite.do?curPage=1&pageSize=${pageSize}">首页</a>
												<a
													href="listFavorite.do?curPage=${curPage-1}&pageSize=${pageSize}">上一页</a>
											</s:if>
											<s:if test="curPage!=totalPage">
												<a
													href="listFavorite.do?curPage=${curPage+1}&pageSize=${pageSize}">下一页</a>
												<a
													href="listFavorite.do?curPage=${totalPage}&pageSize=${pageSize}">末页</a>
											</s:if>
											当前
											<s:property value="curPage" />
											/
											<s:property value="totalPage" />
											页
										</div>
										<!-- 分页:end -->
										<script>
											function saveUser() {
												document
														.getElementById('dialog').style.display = 'none';
												document.getElementById(
														'myForm').submit();
											}
											function newUser() {
												document
														.getElementById('dialog').style.display = 'block';
											}
										</script>
									</div>
								</div>
							</div>
						</div>
					</div>
					<div class="clear"></div>
				</div>
			</div>
		</div>
	</div>


</body>
</html>
